package com.example.safeassistan.risk.model;

import java.io.Serializable;

public class RiskPointDetailModel implements Serializable {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"id":"1381923876178239493","riskPointName":"配电室3","riskLevel":3,"isOutOfControl":1,"departName":"测试工厂","qymc":null,"riskPointPlaces":"厂房","riskPointImg":null}
     * timestamp : 1618476463085
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1381923876178239493
         * riskPointName : 配电室3
         * riskLevel : 3
         * isOutOfControl : 1
         * departName : 测试工厂
         * qymc : null
         * riskPointPlaces : 厂房
         * riskPointImg : null
         */

        private String id;
        private String riskPointName;
        private Integer riskLevel;
        private Integer isOutOfControl;
        private String departName;
        private String qymc;
        private String riskPointPlaces;
        private String riskPointImg;
        private String realname;

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRiskPointName() {
            return riskPointName;
        }

        public void setRiskPointName(String riskPointName) {
            this.riskPointName = riskPointName;
        }

        public Integer getRiskLevel() {
            return riskLevel;
        }

        public void setRiskLevel(Integer riskLevel) {
            this.riskLevel = riskLevel;
        }

        public Integer getIsOutOfControl() {
            return isOutOfControl;
        }

        public void setIsOutOfControl(Integer isOutOfControl) {
            this.isOutOfControl = isOutOfControl;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getQymc() {
            return qymc;
        }

        public void setQymc(String qymc) {
            this.qymc = qymc;
        }

        public String getRiskPointPlaces() {
            return riskPointPlaces;
        }

        public void setRiskPointPlaces(String riskPointPlaces) {
            this.riskPointPlaces = riskPointPlaces;
        }

        public String getRiskPointImg() {
            return riskPointImg;
        }

        public void setRiskPointImg(String riskPointImg) {
            this.riskPointImg = riskPointImg;
        }
    }
}
